package com.mdlib.droid.module.home.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.mdlib.droid.R;

import java.util.List;

/**
 * 作者：HQY on 2018/10/22 15:57
 * 邮箱：hqy_xz@126.com
 */

public class HomeContentAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public HomeContentAdapter(List<String> data) {
        super(R.layout.fragment_home_content, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {

        helper.setText(R.id.tv_home_content, item);

    }
}
